home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / perl5 / Search::Dict.z / Search::Dict
Encoding:
Text File  |  1998-10-30  |  1.1 KB  |  67 lines

  1.  
  2.  
  3.  
  4. SSSSeeeeaaaarrrrcccchhhh::::::::DDDDiiiicccctttt((((3333))))                                                SSSSeeeeaaaarrrrcccchhhh::::::::DDDDiiiicccctttt((((3333))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      Search::Dict, look - search for key in dictionary file
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.          use Search::Dict;
  13.          look *FILEHANDLE, $key, $dict, $fold;
  14.  
  15.  
  16. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.      Sets file position in FILEHANDLE to be first line greater than or equal
  18.      (stringwise) to $_k_e_y.  Returns the new file position, or -1 if an error
  19.      occurs.
  20.  
  21.      The flags specify dictionary order and case folding:
  22.  
  23.      If $_d_i_c_t is true, search by dictionary order (ignore anything but word
  24.      characters and whitespace).
  25.  
  26.      If $_f_o_l_d is true, ignore case.
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.